package com.ruoyi.project.zerocarbon.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 【请填写功能名称】对象 declare_expert
 * 
 * @author ruoyi
 * @date 2021-07-31
 */
public class DeclareExpert extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 申报id */
    @Excel(name = "申报id")
    private Long declarationId;
    private Integer managementType;
    private List<Long> declarationIdList;

    /** 专家号 */
    @Excel(name = "专家号")
    private String expertNumber;

    /** 专家姓名 */
    @Excel(name = "专家姓名")
    private String expertName;

    /** 小组 */
    @Excel(name = "小组")
    private String groupName;

    /** 分配数量 */
    @Excel(name = "分配数量")
    private Integer distributionAmount;

    /** 专家用户id */
    @Excel(name = "专家用户id")
    private Long userId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeclarationId(Long declarationId) 
    {
        this.declarationId = declarationId;
    }

    public Long getDeclarationId() 
    {
        return declarationId;
    }
    public void setExpertNumber(String expertNumber) 
    {
        this.expertNumber = expertNumber;
    }

    public String getExpertNumber() 
    {
        return expertNumber;
    }
    public void setExpertName(String expertName) 
    {
        this.expertName = expertName;
    }

    public String getExpertName() 
    {
        return expertName;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public void setDistributionAmount(Integer distributionAmount)
    {
        this.distributionAmount = distributionAmount;
    }

    public Integer getDistributionAmount() 
    {
        return distributionAmount;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public List<Long> getDeclarationIdList() {
        return declarationIdList;
    }

    public void setDeclarationIdList(List<Long> declarationIdList) {
        this.declarationIdList = declarationIdList;
    }

    public Integer getManagementType() {
        return managementType;
    }

    public void setManagementType(Integer managementType) {
        this.managementType = managementType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("declarationId", getDeclarationId())
            .append("expertNumber", getExpertNumber())
            .append("expertName", getExpertName())
            .append("distributionAmount", getDistributionAmount())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
